package com.zhao.gulistore.member.feign;

import com.zhao.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author xiaoZhao
 * @date 2023/3/8
 * @describe 这是一个声明式的远程调用
 */
@FeignClient("gulistore-coupon")
public interface CouponFeignService {

    @PostMapping("/coupon/coupon/member/list")
    public R memberCoupon();
}
